package com.txtTool.articleTxt.controller.pageManger;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

@RestController
@RequestMapping(value="")
public class ErrorController {

    @GetMapping(value = "/errorPage")
    public ModelAndView index() {
        ModelAndView mv = new ModelAndView("/center/error");
        return mv;
    }

}
